<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>500 - 系统发生内部错误</title>
<script type="text/javascript">
var wl = window.location;
var path = wl.pathname.substring(1);
var appUrl = [wl.protocol, '//', wl.hostname, (wl.port == '' ? '': ':'), wl.port,'/',path.substring(0,path.indexOf('/')+1)].join('');

function loadCssOrJs(filepath, filetype){ 
	//如果文件类型为 .js ,则创建 script 标签，并设置相应属性 
	if (filetype=="js"){ 
		var fileref=document.createElement('script'); 
		fileref.setAttribute("type","text/javascript"); 
		fileref.setAttribute("src", filepath); 
	} 
	//如果文件类型为 .css ,则创建 script 标签，并设置相应属性 
	else if (filetype=="css"){ 
		var fileref=document.createElement("link"); 
		fileref.setAttribute("rel", "stylesheet"); 
		fileref.setAttribute("type", "text/css"); 
		fileref.setAttribute("href", filepath); 
	} 
	if (typeof fileref!="undefined") 
		document.getElementsByTagName("head")[0].appendChild(fileref); 
} 

function setIcon(filepath){
	var fileref=document.createElement("link"); 
	fileref.setAttribute("rel", "shortcut icon"); 
	fileref.setAttribute("type", "image/x-icon"); 
	fileref.setAttribute("href", filepath); 
}

function gohome(){
	window.location.href=appUrl;
}
</script>
</head>
<body>
<script type="text/javascript">
setIcon([appUrl,'static/images/favicon.ico'].join(''));
loadCssOrJs([appUrl,'static/bootstrap/2.3.0/css/bootstrap.min.css'].join(''), 'css');
loadCssOrJs([appUrl,'static/bsl/css/css.css'].join(''), 'css');
</script>
<div class="container">
	<div class="head">
	<div class="head1">
		<div class="head-use">
			
		</div>	
	</div>
	</div>
	<div id="message" class="alert alert-error">
		<h3>500 - 系统发生内部错误. 请与系统管理联系！</h3>
	</div>
	<div><a class="btn" href="#" onclick="gohome()">返回首页</a></div>
</div>
</body>
</html>